package com.common.platform.sys.dictmap;

import com.common.platform.base.dict.AbstractDictMap;

public class UserDict extends AbstractDictMap {
    @Override
    public void init() {
        put("userId","账号");
        put("avatar","头像");
        put("account","账号");
        put("name","名字");
        put("birthday","生日");
        put("sex","性别");
        put("email","电子邮箱");
        put("phone","电话");
        put("roleId","角色名称");
        put("deptId","部门名称");
        put("roleIds","角色名称集合");
    }

    @Override
    protected void initBeWrapped() {
         putFieldWrapperMethodName("userId","getUserAccountById");
        putFieldWrapperMethodName("sex","getSexName");
        putFieldWrapperMethodName("deptId","getDeptName");
        putFieldWrapperMethodName("roleId","getSingleRoleName");
        putFieldWrapperMethodName("roleIds","getRoleName");
    }
}
